﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<OurSite.Web.Models.PhotoMenuModel>" %>
<%@ Import Namespace="OurSite.Web.HTMLHelpers" %>

    <section id="rightside"> 
        <header> 
            <h1>Photos & Videos</h1> 
        </header> 
        <article>  
            <%= HTMLHelper.BuildYearMenuItem("Our Family - Ryans", "years", "year", Model.RyanYears, 4, "Year", ViewData["MenuSelectedItem"].ToString())%>
        </article>
        <article>  
            <%= HTMLHelper.BuildYearMenuItem("Our Family - Hardens", "years", "year", Model.HardenYears, 4, "Year", ViewData["MenuSelectedItem"].ToString())%>
        </article>
        <article>  
            <%= HTMLHelper.BuildYearMenuItem("Years we live", "years", "year", Model.Years, 4, "Year", ViewData["MenuSelectedItem"].ToString())%>
        </article>
        <article>
            <%= HTMLHelper.BuildRegionMenuItem("Places we go", "places", "places", Model.Regions, 5, "Region", ViewData["MenuSelectedItem"].ToString())%>
        </article>
        <article>
            <%= HTMLHelper.BuildMenuItem("People we see", "people", "person", Model.People, 4, "People", ViewData["MenuSelectedItem"].ToString())%>
        </article>
        <article>    
            <%= HTMLHelper.BuildMenuItem("Events we remember", "categories", "categories", Model.ParentCategories, 4, "Category", ViewData["MenuSelectedItem"].ToString())%>
        </article> 
    </section> 
